package cn.com.blueInfo.bpm.entity;

import cn.com.blueInfo.config.YamlFileLoader;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 系统配置参数
 */
@Data
@Component
@PropertySource(value = "classpath:config/bpm-manager.yml", factory = YamlFileLoader.class)
@ConfigurationProperties(prefix = "bpm.context-param")
public class ContextParam {

    /** 域编码 */
    public String domainCode;
    /** 系统编码 */
    public String applicationCode;

}
